FROM docker.io/tomcat:8.5-alpine
MAINTAINER penn 
RUN rm -rf /usr/local/tomcat/webapps/* && chmod 777 -R /usr/local/tomcat/webapps/
ADD ./jeesite.war /usr/local/tomcat/webapps/ROOT.war
EXPOSE 8080
CMD ["catalina.sh", "run"]